<template>
  <div class="main">
    <main-header></main-header>
    <div class="container">
      <main-left></main-left>
      <div class="container-right">
        <router-view></router-view>
      </div>
    </div>
  </div>
</template>
<script setup lang="ts">
import mainHeader from '@/components/layout/main-header/main-header.vue'
import mainLeft from '@/components/layout/main-aside/main-left.vue'

</script>
<style lang="less" scoped>
.main {
  width: 100vw;
  height: 100vh;
  background-color: #fef0f0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 12px;

  .container {
    height: calc(100% - 80px);
    margin: 0 12px;
    display: flex;
    justify-content: space-between;

    .container-right {
      flex: 1;
      border-radius: 4px;
      background-color: #fff;
    }
  }
}
</style>
